<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta content="text/html;charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no cache" />
<meta http-equiv="Expires" content="0" />
<meta name="viewport"
	content="width=device-width, initial-scale=1, maximum-scale=1" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="format-detection" content="telephone=no" />
<link href="../../plugins/pace/themes/pink/pace-theme-flash.css" rel="stylesheet"/>
<script src="../../plugins/pace/pace.min.js"></script>
<link href="../../plugins/contextMenu/jquery.contextMenu.min.css" rel="stylesheet"/>
<link href="../../plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet"/>
<link rel="stylesheet" href="../../plugins/ztree/css/zTreeStyle/zTreeStyle.css" type="text/css"/>
<link href="../../plugins/toastr/toastr.min.css" rel="stylesheet"/>
<link rel="stylesheet" type="text/css" href="../../plugins/layui/css/layui.css" media="all"/>
<script type="text/javascript" src="../../plugins/jquery/jquery.min.js"></script>
<script type="text/javascript" src="../../plugins/encrypt/jsencrypt.min.js"></script>
<script src="../../plugins/contextMenu/jquery.contextMenu.min.js"></script>
<script type="text/javascript" src="../../plugins/ztree/js/jquery.ztree.all.min.js"></script>
<script src="../../plugins/toastr/toastr.min.js"></script>
<link rel="stylesheet" type="text/css" href="../../css/fs.css?v=2.0.0" media="all"/>
<script type="text/javascript" src="../../plugins/layui/layui.js"></script>
<script type="text/javascript" src="../../plugins/frame/js/fsDict.js?v=2.0.0"></script>
<script type="text/javascript" src="../../plugins/frame/js/fs.js?v=2.0.0"></script>
<script type="text/javascript" src="../../plugins/frame/js/frame.js?v=2.0.0"></script>
</head>
<body>
<div class="layui-fluid">
	<div class="layui-row layui-col-space10">
		<div class="layui-col-md12">
			<div class="layui-card">
  	 		<div class="layui-card-body">
					<div class="layui-form-query">
						<form class="layui-form" groupId="test">
							<input type="hidden" name="id">
						  <div class="layui-form-item">
						    <label class="layui-form-label">功能号：</label>
						    <div class="layui-input-inline">
						      <input type="text" name="funcNo" required=""  lay-verify="required" placeholder="请输入功能号" autocomplete="off" class="layui-input fsEditReadonly"/>
						    </div>
						    <label class="layui-form-label">名称：</label>
						    <div class="layui-input-inline">
						      <input type="text" name="funcName" required=""  lay-verify="required" placeholder="请输入功能号名称" autocomplete="off" class="layui-input"/>
						    </div>
						  </div>
						  <div class="layui-form-item">
						    <label class="layui-form-label">类型</label>
						    <div class="layui-input-inline">
						      <select name="funcType" lay-verify="required">
						        <option value="">--请选择--</option>
						        <option value="c">功能号实现类</option>
						        <option value="s">service实现类</option>
						        <option value="m">mapper实现类</option>
						      </select>
						    </div>
						    <label class="layui-form-label">分类</label>
						    <div class="layui-input-inline">
						      <select name="type" lay-verify="required">
						        <option value="">--请选择--</option>
						        <option value="plat">后台系统</option>
						      </select>
						    </div>
						  </div>
						  <div class="layui-form-item">
						    <label class="layui-form-label">资源内容：</label>
						    <div class="layui-input-block">
						      <input type="text" name="resource" required="" lay-verify="required" placeholder="请输入资源内容" autocomplete="off" class="layui-input"/>
						    </div>
						  </div>
						  <div class="layui-form-item">
						  	<label class="layui-form-label">版本号：</label>
						    <div class="layui-input-inline">
						      <input type="text" name="version" placeholder="默认1.0" autocomplete="off" class="layui-input"/>
						    </div>
						    <label class="layui-form-label">状态</label>
						    <div class="layui-input-inline">
						      <input type="checkbox" name="state" lay-skin="switch" lay-text="启用|关闭" checked="" value="1"/>
						    </div>
						  </div>
						  <hr/>
					</form>
				</div>
			</div>
		</div>
	</div>
	<div class="layui-col-md12">
		<div class="layui-card">
  	 	<div class="layui-card-body">
				<div>
					<button class="layui-btn layui-btn layui-btn-sm" function="addRow" tableId="addFsDatagrid">
						<i class="layui-icon">&#xe654;</i>新增
					</button>
					<button class="layui-btn layui-btn layui-btn-sm" function="topAddRow" tableId="addFsDatagrid" topUrl="views/staticDatagrid/addRow.html" topWidth="700px" topHeight="275px" isMaxWindow="" topTitle="新增信息">
						<i class="layui-icon">&#xe654;</i>新增弹窗
					</button>
				</div>
				<table id="addFsDatagrid" lay-filter="addFsDatagrid" class="fsDatagrid" groupId="test" url="/fsbus/DEMO1014"
					isLoad="0" isPage="0" height="160" inputs="funcId:$id"></table>

				<div class="fsDatagridCols">
					<p type="numbers" title="#" />
					<p field="attribute" edit="text" title="参数" width="150"/>
			    <p field="name" edit="text" title="名称" width="200"/>
			    <p field="value" edit="text" title="值" width="130"/>
			    <p field="defaultValue" edit="text" title="默认值" width="130"/>
					<p fixed="right" align="center" toolbar="#barDemo" title="操作" width="150" />
				</div>
				<script type="text/html" id="barDemo">
						<a class="layui-btn layui-btn-xs" lay-event="topEditRow" topUrl="views/staticDatagrid/addRow.html" topWidth="700px" topHeight="275px" isMaxWindow="" topTitle="修改信息">修改</a>
						<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delRow" isConfirm="1" confirmMsg="是否确定删除当前记录？">删除</a>
				</script>
			</div>
		</div>
	</div>

	<div class="layui-col-md12">
		<div class="layui-card">
  	 	<div class="layui-card-body">
				<div style="text-align: center;">
		   	 <button class="layui-btn fsAdd" function="save" groupId="test" url="/fsbus/DEMO1008"><i class="layui-icon">&#xe609;</i>新增</button>
		   	 <button class="layui-btn fsEdit" function="save" groupId="test" url="/fsbus/DEMO1009"><i class="layui-icon">&#xe609;</i>修改</button>
		   	 <button type="button" class="layui-btn layui-btn-primary" function="close">关闭</button>
		 	  </div>
			</div>
		</div>
	</div>
</div>
</div>
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?d506ef94f6ea5b1b6824728a5e476535";
  var s = document.getElementsByTagName("script")[0];
  s.parentNode.insertBefore(hm, s);
})();
</script>
</body>
</html>
